/**
 * 分润提现表 api 封装
 *
 * @Author:    zhoujk
 * @Date:      2025-01-23 04:08:27
 */
import { postRequest, getRequest } from '/src/lib/axios'

export const profitDrawApi = {
  /**
   * 分页查询
   */
  page: (param) => {
    return postRequest('/b-agent/profit/draw/page', param)
  },

  /**
   * 分润提现审核
   */
  draw: (param) => {
    return postRequest('/b-agent/profit/draw/draw', param)
  },

  /**
   * 分润提现审核
   */
  audit: (param) => {
    return postRequest('/b-agent/profit/draw/audit', param)
  },

  /**
   * 根据id查询分润提现
   */
  findOne: (param) => {
    return postRequest('/b-agent/profit/draw/find_id', param)
  },
}
